--[[

LibDataBroker details.

]]

LibStub:GetLibrary("LibDataBroker-1.1"):NewDataObject(LPXP_ID, {
	type = "launcher",
	label = LPXP_TEXT,
--[[
	-- Ignore clicks for now, but later something might be done with them
	OnClick = function(_, msg)
		if msg == "LeftButton" then
		elseif msg == "RightButton" then
		end
	end,
]]
	-- Currently use the same cheesy icon as before...
	icon = "Interface\\Icons\\inv_misc_bag_27",

	OnTooltipShow = function(tooltip)
		if not tooltip or not tooltip.AddLine then
			return;
		end
		LPXP_SetTooltipText(tooltip);
	end,
})
